<?php 
function facto($mun){
	if($mun>1){
		$re = $mun * facto($mun - 1);
		
	}else{
		$re = 1;
	}
	return $re;
}
echo facto(5);





 ?>